how to read file with date in python